package com.baizhi;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;
import com.baizhi.dto.RedisData;
import com.baizhi.entity.Shop;
import com.baizhi.service.IShopService;
import com.baizhi.service.IVoucherService;
import com.baizhi.utils.RedisConstants;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.junit4.SpringRunner;

import java.time.LocalDateTime;

@RunWith(SpringRunner.class)
@SpringBootTest(classes= YuyousheApplication.class)
public class aa {
    @Autowired
    private IVoucherService iVoucherService;
    @Autowired
    private IShopService shopService;
    @Autowired
    private RedisTemplate redisTemplate;
    @Test
    public void test1(){
        //把id为1的商户信息存入到redis

    }
}
